package com.entity;

import java.util.Date;

public class Notice {  // 公告表

    private Integer id; //公告id

    private Date intime; //添加公告时间

    private String content; //公告内容

    private Userinfo author; //添加人

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getIntime() {
        return intime;
    }

    public void setIntime(Date intime) {
        this.intime = intime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Userinfo getAuthor() {
        return author;
    }

    public void setAuthor(Userinfo author) {
        this.author = author;
    }
}